package com.apidocs.demo.controller;

import com.apidocs.demo.entity.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * demo接口
 */
@Slf4j
@RestController
public class DemoController {

    /**
     * index
     */
    @RequestMapping("/index")
    public Result<String> index() {
        return Result.ok();
    }


}
